package com.ztgf.commodity.models.bo;

import com.ztgf.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * author: chenyu.wang
 * date: 2020-05-26 11:54
 * Description:
 */
@Data
public class CommodityUnitBO extends BaseBO implements Serializable {

    @ApiModelProperty(value = "单位唯一标识")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "是否发布;0未发布、1发布")
    private Integer isPublish;

    @ApiModelProperty(value = "排序;默认倒序")
    private Integer sort;

    @ApiModelProperty(value = "排序类型 1降序 2升序")
    private String sortType;
}
